<?php
    echo $this->Html->css(array('fullcalendar.css', 'jquery-ui-1.8.9.custom.css', 'screen.css', 'ie.css'),'stylesheet', array('media'=>'screen'));
	echo $this->Html->script(array('jquery-1.4.4.min.js', 'jquery-ui-1.8.9.custom.min.js', 'fullcalendar.min.js', 'gcal.js'));
    //echo $this->element('topnav');
?>
<div class="container"> 
<h1>A simple login example</h1> 
      <hr> 
      <h2 class="alt">This sample page demonstrates the login form functionality</h2> 
      <hr> 
      <div class="span-7 colborder"> 
        <h6>Enter your credentials</h6> 
        <?php echo $form->create('User', array('action' => 'login'));?>
        	<table width="100%" border="0">

  <tr>
    <td>Email</td>
    <td><?php echo $form->input('User.email_address',array('type'=>'text', 'label' => false)); ?></td>
  </tr>
  <tr>
    <td>Password</td>
    <td><?php echo $form->input('User.password',array('type'=>'password', 'label' => false));?></td>
  </tr>

  <tr>
    <td></td>
    <td><?php echo $form->end('Sign In');?></td>
  </tr>
</table>
<p>Are you ready to volunteer?</p>
<p><a href="users/application">Apply to be a volunteer</a></p>


      </div> <!-- End span-7 colborder -->

<div class="demo">
<?php
	echo pr($_SESSION);
    $sup = App::Objects('controller');
   echo pr($sup);
?>

</div><!-- End demo -->

</div><!-- End container -->

<div class="demo-description" style="display: none; ">
<p>The datepicker is tied to a standard form input field.  Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay.  Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.</p>
</div><!-- End demo-description -->

